home *** CD-ROM | disk | FTP | other *** search
- **** Description des render states ****
-
- Chaque nom peut Ωtre suivi de Free ou bien des paramΦtres indiquΘs ci dessous:
-
-
-
- //-------------------- General ----------------------
- mgStateFillMode Point - Line - Solid
- mgStateCullMode CW - CCW - Both
- mgStateShadeMode Flat - Gouraud - Phong
- mgStateClip Y - N
- mgStateDither Y - N
- mgStateLinePattern <integer> <bits>
-
- //-------------------- ZBuffer ----------------------
- mgStateZBuffer Y - N - UseW
- mgStateZBufferWrite Y - N
- mgStateZBufferFunc Never - Always - Less - LessEqual - Greater - GreaterEqual - Equal - NotEqual
- mgStateZBufferBias <integer [0-16]>
-
- //-------------------- Stencil ----------------------
- mgStateStencil Y - N
- mgStateStencilFail Keep - Zero - Replace - IncrSat - DecrSat - Invert - Incr - Decr
- mgStateStencilZFail idem
- mgStateStencilPass idem
- mgStateStencilRef <integer>
- mgStateStencilMask <mask>
- mgStateStencilWriteMask <mask>
-
- //-------------------- Texture ----------------------
- mgStateTexture Y - N
- mgStateTextureFactor <mgColor>
- mgStateTextureOp <stage> Disable - SelectArg1 - SelectArg2 - Modulate - Modulate2x -
- Modulate4x - Add - AddSigned - AddSigned2X - Subtract - AddSmooth -
- BlendDiffuseAlpha - BlendTextureAlpha - BlendFactorAlpha -
- BlendTextureAlphaPM - BlendCurrentAlpha - Premodulate -
- ModulateAlpha_AddColor - ModulateColor_AddAlpha -
- ModulateInvAlpha_AddColor, - ModulateInvColor_AddAlpha - BumpEnvMap -
- BumpEnvMapLumminance - DotProduct3 - MultiplyAdd - Lerp
- mgStateTextureArg1 <stage> Texture - Diffuse - Current - TFactor - Specular - Temp
- mgStateTextureArg2 <stage> idem
- mgStateTextureArg3 <stage> idem
- mgStateTextureAlphaOp <stage> Disable - SelectArg1 - SelectArg2 - Modulate - Modulate2x -
- Modulate4x - Add - AddSigned - AddSigned2X - Subtract - AddSmooth -
- BlendDiffuseAlpha - BlendTextureAlpha - BlendFactorAlpha -
- BlendTextureAlphaPM - BlendCurrentAlpha - Premodulate -
- DotProduct3 - MultiplyAdd - Lerp
- mgStateTextureAlphaArg1 <stage> Texture - Diffuse - Current - TFactor - Specular - Temp
- mgStateTextureAlphaArg2 <stage> idem
- mgStateTextureAlphaArg3 <stage> idem
- mgStateTextureResultArg <stage> Current - Temp
- mgStateTextureCoordIndex <stage> <integer [0-7]>
- mgStateTextureWrapU <stage> Wrap - Mirror - Clamp - Border - MirrorOnce
- mgStateTextureWrapV <stage> idem
- mgStateTextureWrapW <stage> idem
- mgStateTextureBorderColor <stage> <mgColor>
- mgStateTextureMinFilter <stage> Point - Linear - Anisotropic - FlatCubic - GaussianCubic
- mgStateTextureMagFilter <stage> idem
- mgStateTextureMipFilter <stage> idem
- mgStateTextureMipMap <stage> Y - N
- mgStateTextureMipMapLODBias <stage> <float>
- mgStateTextureMaxMipLevel <stage> <unsigned integer>
- mgStateTextureTransform <stage> Disable - Count1 - Count2 - Count3 - Count4 - Count1 Projected -
- Count2 Projected - Count3 Projected - Count4 Projected
- mgStateTextureBumpEnvMat00 <stage> <float value>
- mgStateTextureBumpEnvMat01 <stage> <float value>
- mgStateTextureBumpEnvMat10 <stage> <float value>
- mgStateTextureBumpEnvMat11 <stage> <float value>
- mgStateTextureBumpEnvLScale <stage> <float value>
- mgStateTextureBumpEnvLOffset <stage> <float value>
-
- //-------------------- AlphaBlend -------------------
- mgStateAlphaBlend Y - N
- mgStateAlphaBlendSrc Zero - One - SrcColor - InvSrcColor - SrcAlpha - InvSrcAlpha -
- DestAlpha - InvDestAlpha - DestColor - InvDestColor - SrcAlphaSat -
- BothSrcAlpha - BothInvSrcAlpha
- mgStateAlphaBlendDest idem
- mgStateAlphaBlendOp Add - Subtract - RevSubtract - Min - Max
-
- //-------------------- AlphaTest --------------------
- mgStateAlphaTest Y - N
- mgStateAlphaTestFunc Never - Always - Less - LessEqual - Greater - GreaterEqual - Equal - NotEqual
- mgStateAlphaTestRef <integer [0-255]>
-
- //-------------------- Fog --------------------------
- mgStateFog Y - N
- mgStateFogDistStart <float [0.0-1.0]>
- mgStateFogDistEnd <float [0.0-1.0]>
- mgStateFogDistColor <mgColor>
-
- //-------------------- Light ------------------------
- mgStateLight Y - N
- mgStateAmbientColor <mgColor>
- mgStateColorVertex Y - N
- mgStateNormalizeNormals Y - N
- mgStateSpecular Y - N
- mgStateLocalViewer Y - N
- mgStateDiffuseMatSource Material - Color1 - Color2
- mgStateSpecularMatSource idem
- mgStateAmbientMatSource idem
- mgStateEmissiveMatSource idem
-
- //-------------------- PointSize --------------------
- mgStatePointSize <float>
- mgStatePointSizeMin <float>
- mgStatePointSizeMAx <float>
- mgStatePointSprite Y - N
- mgStatePointScale Y - N
- mgStatePointScaleA <float>
- mgStatePointScaleB <float>
- mgStatePointScaleC <float>